package com.ocom.payhandle.feign;

import com.ocom.common.constant.WxServiceUrl;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.pay.ServiceChargesVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description: TODO
 * @Author: 朱晖
 * @Date: 2022/11/17
 **/
@Component
@FeignClient(value = "ugcapi")
public interface UgcapiFeign {

	//查单
	@PostMapping(WxServiceUrl.URL_Check)
	Result Check(@RequestParam("comId") Long comId,@RequestParam("orderNo") String orderNo);


	@PostMapping(WxServiceUrl.URL_serviceCharges)
	public Result serviceCharges(@RequestBody ServiceChargesVo serviceChargesVo);
}
